<!DOCTYPE html>
<html lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>微信登陆</title>
</head>
<body style="background-color: rgb(51, 51, 51); padding: 50px;" >
	<div id="login_container_wechat" style="text-align: center;" ></div>

    <script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
	<script type="text/javascript">
		var url = encodeURI("http://chigua.chezidao.com/admin/login");
		console.log(url);
		var obj = new WxLogin({
	        id:"login_container_wechat", 
	        appid: "wxe6f9e31fe8e10a8d", 
	        scope: "snsapi_login", 
	        redirect_uri: url,
	        state: "1236541",
	        style: "black"
	      });
	</script>
</body>
</html>